home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / resources / templates / feed-settings < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-12  |  4.5 KB  |  92 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4.       xmlns:t="http://www.participatorypolitics.org/"
  5.       xmlns:i18n="http://www.participatoryculture.org/i18n"
  6.       eventCookie="@@@eventCookie@@@" dtvPlatform="@@@dtvPlatform@@@">
  7. <head>
  8. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  9.  
  10. <link href="resource:css/main.css" rel="stylesheet" type="text/css" />
  11. <t:include filename="dynamic.js" />
  12. <t:include filename="settings.js" />
  13. </head>
  14.     <t:execOnLoad><![CDATA[
  15. feed = views.feeds.getObjectByID(int(kargs['id']))
  16. ]]></t:execOnLoad>
  17.  
  18. <body>
  19.  
  20. <form action="javascript:eventURL('template:channel?id=@@@feed.getID()@@@')" method="GET" name="settings">
  21.     <input name="feed" type="hidden" value="@@@feed.getID()@@@" />
  22.     
  23.     <div id="settings-inner">
  24.             <div id="channel-url">
  25.                 <div t:replace="feed.getURL()" class="selectable" />
  26.                 <div><a class="remove-channel" href="#" onclick="return eventURL('action:removeFeed?id=@@@feed.getID()@@@');"><span i18n:translate="">remove channel</span></a></div>
  27.             </div>
  28.     <h2 i18n:translate="">Settings for <span i18n:name="title" t:replace="feed.getTitle()" /></h2> 
  29.                 
  30.         <div id="actual-settings">
  31.         
  32.         <span i18n:translate="">Videos expire after </span>
  33.         <select name="expireAfter" onChange="javascript:setExpiration();">
  34.             <option value="system" selected="1" 
  35. t:hideIf="feed.getExpirationType() != 'system'"><span i18n:translate="">Default</span> 
  36. (<span t:replace="feed.getFormattedDefaultExpiration()" />)</option>
  37.             <option value="system" t:hideIf="feed.getExpirationType() == 
  38. 'system'"><span i18n:translate="">default</span> (<span i18n:name="expiration"
  39. t:replace="feed.getFormattedDefaultExpiration()" />)</option>
  40.             <option value="3" selected="1" t:hideIf="feed.getExpirationTime() 
  41. != 3" i18n:translate="">3 hours</option>
  42.             <option value="3" t:hideIf="feed.getExpirationTime() == 3" 
  43. i18n:translate="">3 hours</option>
  44.             <option value="24" selected="1" 
  45. t:hideIf="feed.getExpirationTime() != 24" i18n:translate="">1 day</option>
  46.             <option value="24" t:hideIf="feed.getExpirationTime() == 24" 
  47. i18n:translate="">1 day</option>
  48.             <option value="72" selected="1" 
  49. t:hideIf="feed.getExpirationTime() != 72" i18n:translate="">3 days</option>
  50.             <option value="72" t:hideIf="feed.getExpirationTime() == 72" 
  51. i18n:translate="">3 days</option>
  52.             <option value="144" selected="1" 
  53. t:hideIf="feed.getExpirationTime() != 144" i18n:translate="">6 days</option>
  54.             <option value="144" t:hideIf="feed.getExpirationTime() == 144" 
  55. i18n:translate="">6 days</option>
  56.             <option value="240" selected="1" 
  57. t:hideIf="feed.getExpirationTime() != 240" i18n:translate="">10 days</option>
  58.             <option value="240" t:hideIf="feed.getExpirationTime() == 240" 
  59. i18n:translate="" >10 days</option>
  60.             <option value="720" selected="1" 
  61. t:hideIf="feed.getExpirationTime() != 720" i18n:translate="">1 month</option>
  62.             <option value="720" t:hideIf="feed.getExpirationTime() == 720" 
  63. i18n:translate="">1 month</option>
  64.             <option value="never" selected="1" 
  65. t:hideIf="feed.getExpirationType() != 'never'" i18n:translate="">Never</option>
  66.             <option value="never" t:hideIf="feed.getExpirationType() == 
  67. 'never'" i18n:translate="">Never</option>
  68.         </select>
  69. <br /><br />
  70.         <input type="checkbox" name="maxOutDownloads" onClick="javascript:setMaxNew();" checked="checked" t:hideIf="feed.getMaxNew() == 'unlimited'" />
  71.         <input type="checkbox" name="maxOutDownloads" onClick="javascript:setMaxNew();" t:hideIf="feed.getMaxNew() != 'unlimited'"/>
  72.         <span i18n:translate="">Don't Auto Download when more than 
  73.         <input i18n:name="maxnew" name="maxNew" type="text" size="3" value="3" disabled="1" onBlur="javascript:setMaxNew();" t:hideIf="feed.getMaxNew() != 'unlimited'"/>
  74.         <input i18n:name="maxnew2" name="maxNew" type="text" size="3" value="@@@feed.getMaxNew()@@@" onBlur="javascript:setMaxNew();" t:hideIf="feed.getMaxNew() == 'unlimited'"/>
  75.         videos are waiting unwatched.</span><div i18n:translate="" class="settings-small">Prevents this channel from using unlimited disk space.</div>
  76.  
  77.         <div class="gray-button-wrap settings-button">
  78.             <div id="feed-settings-close-button" class="gray-button-bg" onclick="return hideSettings()" >
  79.                 <div class="gray-button-left" />
  80.                 <div class="gray-button-right" />
  81.                 <div i18:translate="" class="gray-button-content">Done</div>
  82.             </div>
  83.     </div>
  84.      </div>         
  85. </div>
  86.  
  87.  
  88. </form>
  89.  
  90. </body>
  91. </html>
  92.